<%@ page import ="java.util.*,AdminController.AdminExe.AdminExeBean" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	AdminExeBean oldadminbean = (AdminExeBean)request.getAttribute("oldmemberdata");	
	String oldday = (String)request.getAttribute("oldday");
	String oldablilty = (String)request.getAttribute("oldablilty");
	
	AdminExeBean youngadminbean = (AdminExeBean)request.getAttribute("youngmemberdata");	
	String youngday = (String)request.getAttribute("youngday");
	String youngablilty = (String)request.getAttribute("youngablilty");

	AdminExeBean babylist[] = (AdminExeBean[])request.getAttribute("babylist");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table width="1000" border="0">
		<tr>
			<td width="490">依頼会員<hr /></td>
			<td></td>
		<td width="490">提供会員<hr />
</tr>
		<tr>
			<td>
				<table width="100%" border="1">
					<tr>
						<th colspan="2" scope="row"><img src="/KOMORIUTA/Applications/Young/photo/<%=youngadminbean.getBby_Photo()%>" width="250" height="300"/></th>
					</tr>
					<tr>
						<th width="25%" scope="row">会員番号</th>
						<td><%=youngadminbean.getMem_Id()%></td>
					</tr>
					<tr>
						<th scope="row">名前(漢字)</th>
						<td><%=youngadminbean.getMem_NameH()%></td>
					</tr>
					<tr>
						<th scope="row">名前(ふりがな)</th>
						<td><%=youngadminbean.getMem_NameK()%></td>
					</tr>
					<tr>
						<th scope="row">誕生日</th>
						<td><%=youngadminbean.getMem_Year()%>年 <%=youngadminbean.getMem_Month()%>月 <%=youngadminbean.getMem_Day()%></td>
					</tr>
					<tr>
						<th scope="row">携帯番号</th>
						<td><%=youngadminbean.getMem_Mobile()%></td>
					</tr>
					<tr>
						<th scope="row">E-Mail</th>
						<td><%=youngadminbean.getMem_Email()%></td>
					</tr>
					<tr>
						<th scope="row">住所</th>
						<td><%=youngadminbean.getBby_Add()%></td>
					</tr>
					<tr>
						<th colspan="2" scope="row">- 希望提供会員 -</th>
					</tr>
					<tr>
						<th scope="row">性別</th>
						<td><%if(youngadminbean.getBby_Gender() == 0){%>男性<%}else{%>女性<%} %></td>
					</tr>
					<tr>
						<th scope="row">保育種類</th>
						<td><%=youngadminbean.getBby_Kind()%></td>
					</tr>
					<tr>
						<th scope="row">資格証</th>
						<td><%=youngablilty%></td>
					</tr>
					<tr>
						<th scope="row">希望曜日</th>
						<td><%=youngday %></td>
					</tr>
					<tr>
						<th scope="row">希望時間</th>
						<td><%if(youngadminbean.getBby_Money().equals("1785")){%>朝時間<%}else{ %>夜時間<%}%></td>
					</tr>
				</table>
			</td>
			<td></td>
			<td>
				<table width="100%" border="1">
					<tr>
						<th colspan="2" scope="row"><img src="/KOMORIUTA/Applications/Old/photo/<%=oldadminbean.getOld_Photo()%>" width="250" height="300"/></th>
					</tr>
					<tr>
						<th width="25%" scope="row">会員番号</th>
						<td><%=oldadminbean.getMem_Id()%></td>
					</tr>
					<tr>
						<th scope="row">名前(漢字)</th>
						<td><%=oldadminbean.getMem_NameH()%></td>
					</tr>
					<tr>
						<th scope="row">名前(ふりがな)</th>
						<td><%=oldadminbean.getMem_NameK()%></td>
					</tr>
					<tr>
						<th scope="row">誕生日</th>
						<td><%=oldadminbean.getMem_Year()%>年 <%=oldadminbean.getMem_Month()%>月 <%=oldadminbean.getMem_Day()%></td>
					</tr>
					<tr>
						<th scope="row">携帯番号</th>
						<td><%=oldadminbean.getMem_Mobile()%></td>
					</tr>
					<tr>
						<th scope="row">E-Mail</th>
						<td><%=oldadminbean.getMem_Email()%></td>
					</tr>
					<tr>
						<th scope="row">住所</th>
						<td><%=oldadminbean.getOld_Add()%></td>
					</tr>
					<tr>
						<th scope="row">性別</th>
						<td><%if(oldadminbean.getOld_Gender() == 0){%>男性<%}else{%>女性<%} %></td>
					</tr>
					<tr>
						<th scope="row">保育種類</th>
						<td><%=oldadminbean.getOld_Kind() %></td>
					</tr>
					<tr>
						<th scope="row">資格証 </th>
						<td><%=oldablilty %></td>
					</tr>
					<tr>
						<th scope="row">保育曜日</th>
						<td><%=oldday %></td>
					</tr>
					<tr>
						<th scope="row">保育時間</th>
						<td><%if(oldadminbean.getOld_Money().equals("1785")){%>朝時間<%}else{ %>夜時間<%}%></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td><br />子供の情報<hr />
				<%for(int i=0; i<babylist.length; i++){%>
				<table width="100%" border="1">
					<tr>
						<th colspan="2" align="center"><img src="/KOMORIUTA/Applications/Young/photo/<%=babylist[i].getBbp_Photo()%>" width="150" height="200"/><br /><%=babylist[i].getBbp_NameH()%>(<%=babylist[i].getBbp_Namek()%>)</th>
					</tr>
					<tr>
						<td>性別</td>
						<td><%if(babylist[i].getBbp_Gender() == 0){%>男性<%}else{%>女性<%} %></td>
					</tr>
					<tr>
						<td>誕生日</td>
						<td><%=babylist[i].getBbp_Birth()%></td>
					</tr>
				</table>
				<%} %>
				</td>
			<td></td>
		</tr>
	</table>
</body>
</html>